Fix shared entry status for grant copy operation on paged-out gfn
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Wed, 22 Aug 2012 21:27:50 +0000 (22:27 +0100)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Wed, 22 Aug 2012 21:27:50 +0000 (22:27 +0100)
commit8aed1f12c4c087c5b31cbee8636b3d2d25efb363
treeda1a279289a814ad761278386c64b4eb95934eff
parent8cda3b02882b6c2b398dffdd8533f2135e9cb088
Fix shared entry status for grant copy operation on paged-out gfn

The unwind path was not clearing the shared entry status bits. This
was BSOD-ing guests on network activity under certain configurations.

Also:
 * sed the fixup method name to signal it's related to grant copy.
 * use atomic clear flag ops during fixup.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/grant_table.c